@import "../_commont/reset.scss";
@import "../_color/color_var.scss";
@import "../_mixin/mixin.scss";
@import "../_commont/header.scss";
@import "../_commont/userbar.scss";
@import "../_commont/footer.scss";
@import "../_commont/comm.scss";

body {
    font-size: 12px;
}

.logo-img {
    position: absolute;
    top: 17px;
    left: 0;
    width: 210px;
    height: 52px;
    background-position: -80px -330px;
    a{
        width: 100%;
        height: 100%;
        display: inline-block;
    }
}

.main-detail {
    width: 100%;
    background: $color_white;
}

.title {
    height: 60px;
    line-height: 60px;
    width: 100%;
    color: $color_nav_left;
    font-size: 13px;
}

.main-container {
    overflow: hidden;
    width: 100%;
}

.left {
    width: 480px;
    height: 478px;
    float: left;
}

.detail-img-small {
    height: 100%;
    // width: 58px;
    float: left;
    position: relative;

    ul {
        // width: 58px;
        height: 100%;
        position: absolute;
        top: 50%;
        margin-top: -330px;
        line-height: 330px;
    }

    li {
        width: 60px;
        height: 60px;
        margin: 10px 0;
    }

    img {
        width: 58px;
        height: 58px;
    }

    img.active {

        border: 1px solid $color_toolbar;
    }
}

.detail-img-big {
    width: 400px;
    height: 400px;
    float: right;
    margin-left: 10px;
    overflow: hidden;

    img {
        width: 400px;
        height: 400px;
    }
}

.sel {
    width: 420px;
    padding-left: 40px;
    float: left;
}

.product-name {
    // height: 40px;
    width: 420px;
    line-height: 30px;
    font-size: 18px;
    color: #333;
    font-weight: bold;
    overflow: hidden;
    margin-bottom: 20px;
}

.price {
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    background: $bg_price;
}

.priceContainer {
    width: 100%;
}

.price-now {
    float: left;
    font-size: 24px;
    color: $color_red;
    font-weight: bold;
}

.price-refer {
    float: left;
    font-size: 16px;
    color: $color_h3;
    text-decoration: line-through;
}

.reduce {
    float: right;
    color: $color_date;
}

.price-vice {
    width: 100%;
    height: 30px;
    line-height: 30px;
    background: $bg_price;
    padding: 0 10px;
    padding-bottom: 10px;
}

.lable {
    color: $color_company;
    height: 30px;
    line-height: 30px;


}

.address {
    height: 20px;
    line-height: 20px;
    padding: 0 4px;
    border: 1px solid $color_border;
    min-width: 40px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin: 0 6px;
}

.arrow {
    border-top: 6px solid $color_border_darken;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    position: absolute;
    top: 6px;
    right: 10px;
}

.type {
    background: orange; //$bg_price;
    padding: 4px 4px;
    color: #fff;
    display: inline-block;
    line-height: 1em;
    height: 1em;
    border-radius: 3px;
}

.nomal {
    color: #333;
}

.float {
    float: left;
}

.price-deliver {
    padding: 0 10px;
    line-height: 60px;
    height: 60px;
    border-bottom: 1px solid lighten($color_border, 5%);
    position: relative;

}

.marginLeft {

    display: inline-block;
    margin-left: 20px;

}

.price-color {
    margin-top: 20px;
    padding: 0 10px;
    overflow: hidden;

    span {
        height: 30px;
        line-height: 30px;
        display: inline-block;
    }

}

.sel-container {
    width: 320px;

    li {
        float: left;
        height: 30px;
        line-height: 30px;
        border: 1px solid $color_border;
        padding: 0 10px;
        margin: 0px 10px 10px;
    }

}

.price-code {

    padding: 0 10px;
    overflow: hidden;
}

.price-button {
    text-align: center;
    padding: 0 10px;
    overflow: hidden;
    height: 30px;
    line-height: 30px;

    div {
        height: 30px;
        line-height: 30px;
        margin-left: 30px;
    }
}

.plus {
    height: 28px;
    line-height: 28px;
    // display: inline-block;
    padding: 0 8px;
    border: 1px solid $color_border;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    float: left;

}

.price-button .num {
    min-width: 60px;
    background: $bg_main;
    color: $color_h3;
    font-size: 14px;
    font-weight: normal;
    padding: 0px 6px;
    height: 28px;
    line-height: 28px;
    border-left: none;
    border-right: none;
}

.price-submit {
    width: 100%;
    height: 60px;
    line-height: 60px;
    text-align: center;
    margin-top: 20px;

    // span {
    //     width: 156px;
    //     text-align: center;
    //     height: 40px;
    //     line-height: 40px;
    //     font-size: 18px;
    //     margin: 10px 10px;
    //     display: inline-block;
    //     border-radius: 3px;
    // }
    .addCar {
        height: 52px;
        line-height: 52px;
        margin-left: 30px;
    }

    .buy {
        background: $bg_price;
        color: $color-red;
        border: 1px solid $color-red;

        &:hover {
            background: $color_white;
            color: $color-red;
        }
    }


}

.promis {
    float: right;
    width: 173px;
    height: 400px;
    padding: 10px 20px;
    border: 1px solid $color_border;
    margin-left: 16px;
}

.store {
    width: 100%;
    text-align: center;
    margin: 0 auto;

    a {
        display: inline-block;
        width: 50px;
        height: 50px;
        line-height: 50px;
        text-align: center;
        border: 1px solid lighten($color_border, 5%);
        margin-top: 10px;
    }

    img {
        width: 48px;
        height: 24px;
        vertical-align: middle;
    }

    p {
        margin: 16px 0;
        font-size: 15px;
        font-weight: bold;
        color: $color_nomal;
        text-align: center;
        width: 100%;
    }

    span {
        font-size: 13px;
        color: $color_link;
    }
}

.approve {
    width: 100%;
    border-top: 1px solid lighten($color_border, 5%);
    margin-top: 16px;

    P {
        height: 30px;
        line-height: 30px;
        color: $color_nomal;
        // padding-left: 40px;
        font-size: 12px;
        margin: 16px 0 5px;
        // background: yellow;
    }

    .icon_marginright {
        margin-right: 10px;
    }
}

.describe {
    margin-top: 20px;
}

.describle_head {
    width: 100%;
    line-height: 50px;
    color: $color_link;
    font-size: 12px;
    text-align: center;
    overflow: hidden;
    @include layout_nav;


}

.describle-head-left {
    width: 980px;
    float: left;
    overflow: hidden;


}

#pDetails {
    width: 100%;
}

.discrible-main-head {
    line-height: 40px;
    height: 40px;
    margin: 20px;
    position: relative;
    text-align: left;

    span {
        color: $color_link;
        font-size: 18px;
        padding: 10px;
        display: inline-block;
        width: 142px;
    }

    i {
        margin: 0 6px;
    }

    .line {
        width: 83%;
        position: absolute;
        top: 25px;
        right: 0;
        border-top: 1px solid $color_toolbar;
        height: 0;

    }

    .short-line {
        width: 83%;
        position: absolute;
        top: 25px;
        right: 0;
        border-top: 1px solid $color_toolbar;
        height: 0;
    }
}

.discrible-main-detail {
    width: 100%;
    text-align: center;

    img {
        display: block;
        margin: 10px auto;
    }
}

#standards {
    width: 100%;
    height: 300px;
    background: red;
}

.discible-standards {
    width: 980px;

    table {
        border-collapse: collapse;
        border-spacing: 0;

        tbody {
            display: table-row-group;
            vertical-align: middle;
            border-color: inherit;
        }
    }

    table.tb-param {
        margin: 40px auto;
        width: 67%;
        table-layout: fixed;
    }

    table.tb-param td,
    table.tb-param th {
        border: 1px solid #e2e2e2;
        padding: 0 20px;
        text-align: left;
        height: 40px;
        word-break: break-all;
        white-space: initial;
    }
}

.service-content {
    padding: 20px 0;
}

.describle-head-right {
    float: right;
    width: 187px;
    border: 1px solid $color_border;

    p {
        height: 50px;
        width: 100%;
        line-height: 50px;
        display: inline-block;
        text-align: center;
        background: $bg_head;
        color: $color_link;
        font-size: 13px;
        padding: 0;
        margin: 0;
        border-bottom: 1px solid $color_border;
    }

    ul {
        width: 100%;

        li {
            padding: 10px;
            height: 50px;
            margin-top: 10px;
        }
    }

    .img-link {
        background-image: url(../images/r-2.jpg);
        background-size: 50px 50px;
        background-repeat: no-repeat;
        width: 100%;
        height: 100%;
        padding: 0;
        font-size: 13px;
        line-height: 15px;
    }

    .img-right {
        margin-left: 60px;
        width: 104px;
        text-align: left;
    }
}

.productPrice {
    width: 180px;
    height: 30px;
    line-height: 30px;
    margin-left: 3px;
}

.productPrice_now {
    @include font_productPrice_now;
    font-size: 14px;
}

.productPrice_old {
    @include font_productPrice_old;
    font-size: 13px;
    margin-left: 10px;
    text-decoration-line: line-through;
}

.protection-items {
    width: 100%;
    margin: 0px auto;

    .items-container {
        width: 770px;
        margin: 40px auto;
        overflow: hidden;
    }

    @include layout_nav;

    .bg {
        background-image: url(../images/xiaobao.gif);
        background-repeat: no-repeat;
        display: inline-block;
        width: 70px;
        height: 94px;

    }

    li {
        padding: 0 20px;
        cursor: pointer;
    }

    .shenhe {
        background-position: 0 0;

        &:hover,
        &.active {
            background-position: 0 -94px;

        }
    }

    .kanjia {
        background-position: -110px 0px;

        &:hover,
        &.active {
            background-position-y: -94px;

        }
    }

    .zhijian {
        background-position: -221px 0;

        &:hover,
        &.active {
            background-position-y: -94px;

        }

    }

    .jiankong {
        background-position: -332px 0;

        &:hover,
        &.active {
            background-position-y: -94px;

        }
    }

    .baoyou {
        background-position: -443px 0;

        &:hover,
        &.active {
            background-position-y: -94px;

        }
    }

    .fahuo {
        background-position: -554px 0;

        &:hover,
        &.active {
            background-position-y: -94px;

        }
    }

    .tuihuo {
        background-position: -665px 0;

        &:hover,
        &.active {
            background-position-y: -94px;

        }
    }

    .protection-container {
        background: $bg-main;
        border-radius: 2px;
        height: 200px;
    }

    .protection-content {
        width: 100%;
    }

    .content-left {
        width: 815px;
        height: 198px;
        overflow: hidden;

    }
}

.head-menu-container {
    position: fixed;
    top: 0px;
    left: 0px;
    display: none;
}

.head-menu {
    @include layout_nav;
    // margin: 0 auto;
    height: 52px;
    overflow: hidden;
}

.head-container {
    width: 980px;
    height: 50px;
    overflow: hidden;
    background: $bg_head;
    border: 1px solid $color_border;
    // box-shadow: 0 4px 4px $color-border;

    li {
        height: 50px;
        line-height: 48px;
        border-right: 1px solid $color_border;

        &:hover a {
            color: $color_red;
        }
    }

    a {
        height: 46px;
        line-height: 46px;
        padding: 0 40px;
        display: inline-block;
    }

    .last {
        float: right;
        // border-left: 1px solid $color_border
    }

    .first {
        border-bottom: 2px solid $color_red;

    }
}

.car {
    background: $color_red;
    color: $color_white;
    width: 156px;
    text-align: center;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    margin: 0 -1px -1px;
    display: inline-block;
    border-radius: 3px;
    cursor: pointer;
    &:hover {
        background: darken($color-red, 20%);
        color: $color_white;
    }

}

.last .price-font {
    color: $color_red;
    font-size: 22px;
}